package com.alibaba.algo.cooperation.feign.vo.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author : WangZhiPan
 * @date : 2021/10/25 17:27
 */
@Data
@ApiModel("根据用户查询组织列表出参")
public class UserOrgInfoResVO {
    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("组织名")
    private String orgName;

    @ApiModelProperty("员工工号")
    private String employeeCode;

    @ApiModelProperty("用户账号")
    private String userAccount;

    @ApiModelProperty("组织Code")
    private String orgCode;

    @ApiModelProperty("组织ID")
    private Long orgId;

    @ApiModelProperty("手机号码")
    private String mobilePhone;


    /**
     * 用户邮箱
     */
    private String email;
    private String orgDesc;
    private String uuid;
    private String dataSource;
    private String departmentClassification;
    private String businessLevel;
    private Long orgType;
    private Long orgState;
    private Long parentId;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime expireStartTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime expireEndTime;

    /**
     * 是否是主部门
     */
    private String isPrimaryOrg;

    @ApiModelProperty(value = "数据状态", notes = "Y-已删除|N-未删除")
    private String isDeletedUser;

    @ApiModelProperty(value = "数据状态", notes = "Y-已删除|N-未删除")
    private String isDeletedOrg;
}
